<?php
	class Mindex extends CI_Model
	{
		function __construct()
		{
			parent::__construct();
			$this->load->database();
		}
		
		function getIntro()
		{
			$this->db->select('thumb,content')->from('intro');
			$query = $this->db->get();
			$row = $query->row();
			return $row;
		}
		
		function getLinks()
		{
			$this->db->select('*')->from('link');
			$query = $this->db->get();
			$row = $query->row();
			return $row;
		}
	}
/* End of file */